﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;

namespace StockShark.Models
{
    // akcja
    public class Share : Instrument
    {
        // true dla notowan jednolitych (system dwoch fixingow)
        public bool Fixing { get; set; }
        [Required]
        [StringLength(64)]
        public string Sector { get; set; }

        public override string TypePL
        {
            get
            {
                return "Akcje";
            }
        }

        public override string Unit
        {
            get
            {
                return "PLN";
            }
        }
    }





}